import BasicLayout from '@/layouts/basic-layout';

const meta = {
    auth: true
};

const pre = 'systemManage-';

export default {
    path: '/systemManage',
    name: 'unit',
    redirect: {
        name: `${pre}list`
    },
    meta,
    component: BasicLayout,
    children: [
        {
            path: 'list',
            name: `${pre}list`,
            meta: {
                ...meta,
                title: '用户管理',
                closable: false
            },
            component: () => import('@/pages/systemManage/list')
        },{
            path: 'list/detail',
            name: `${pre}list/detail`,
            meta: {
                ...meta,
                title: '用户管理详情',
                closable: false
            },
            component: () => import('@/pages/systemManage/list/detail')
        },{
            path: 'overdueSetting',
            name: `${pre}overdueSetting`,
            meta: {
                ...meta,
                title: '逾期设置',
                closable: false
            },
            component: () => import('@/pages/systemManage/list/overdueSetting')
        }
    ]
};
